--[[ 编码: WMS-09-13 名称: 作者: 日期:2025-03-06 函数:InitialDlg 功能: 更改记录: --]] wms_wh = require ("wms_wh") function InitialDlg( strLuaDEID ) local nRet, strRetInfo local wh_list nRet, wh_list = wms_wh.GetMyFactoryWarehouse( strLuaDEID ) if ( nRet ~= 0 ) then mobox.stopProgram( strLuaDEID, wh_list ) return end local action = { { action_type = "set_dlg_attr", value = { { attr = "S_WH_CODE", value = "", choice_list = wh_list } } } } nRet, strRetInfo = mobox.setAction( strLuaDEID, lua.table2str(action) ) if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction失败! "..strRetInfo..' action = '..strAction ) end end